package com.xm.mapper;

import com.xm.pojo.Admin;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {
    Admin findByUsername(String username);

    void updateAdmin(Admin admin);

    void add(Admin admin);
}
